﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Dapper_Core.Model
{
    /// <summary>
    /// 返回结果的类型（枚举类）
    /// </summary>
    public enum EResult
    {
        /// <summary>
        /// 操作成功（默认）
        /// </summary>
        [Description("操作成功")]
        N0000 = 0,

        /// <summary>
        /// 操作失败
        /// </summary>
        [Description("操作失败")]
        N0001,

        /// <summary>
        /// 系统错误
        /// </summary>
        [Description("系统错误")]
        N0003,

        /// <summary>
        /// 未获取有效数据
        /// </summary>
        [Description("未获取有效数据")]
        N0004,
        //自定义custom

        /// <summary>
        /// 上传数据异常[Description("上传数据异常")]
        /// </summary>
        C0001,
    }
}
